﻿/**
 * Hellotxt AS3 API
 * For more information: http://code.google.com/p/hellotxt-as3/
 *  
 * @author	Lucas Araujo <araujo.lucas [at] gmail.com> - http://hellotxt.com/user/lucas
 */
package hellotxt.api.events
{
	import flash.events.Event;
	
	/**
	 * 
	 */
	public class HellotxtEvent extends Event
	{
		//
		public static const ON_VALIDATE_RESULT:String = "validateResult";
		public static const ON_USER_POST_RESULT:String = "userPostResult";
		public static const ON_USER_SERVICES_RESULT:String = "userServicesResult";
		public static const ON_USER_LATEST_RESULT:String = "userLatestResult";

		// 
		public static const ON_ERROR:String = "onError";
		
		// 
		public var data:Object = new Object ();
		
		/**
		 * 
		 * @param	type
		 * @param	bubbles
		 * @param	cancelable
		 */
		public function HellotxtEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super (type, bubbles, cancelable);			
		}	
	}
}